package com.chezai.client.global;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;

import org.greenrobot.eventbus.EventBus;


/**
 * Created by likunyang on 2017/10/13.
 */

public class AlarmBroadcast extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        if(TextUtils.equals(intent.getAction(),Const.ALARM_ACTION)){
            EventBus.getDefault().post(Const.ALARM_ACTION);
        }
    }
}
